package diploma.kisel.modelas.service.api;

import java.util.List;

import diploma.kisel.modelas.domain.Computer;
import diploma.kisel.modelas.domain.ComputerType;

public interface ComputerService {
	
	public List<Computer> findAll();
	
	public List<Computer> findByPrice(int minPrice, int maxPrice);
	
	public Computer findById(int id);
	
	public Computer save(Computer computer);
	
	public void remove(Computer computer);
	
	public void remove(int id); 
	
	public List<Computer> findByType(ComputerType type);
	
	public List<Computer> findByBrand(List<Computer> computers, String brand);
	
	public List<Computer> findByPriceAndBrand(int minPrice, int maxPrice, ComputerType type);

}
